import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SLevelSealInfo
    
    export  class SLevelSealInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SLevelSealInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.curSealLevel);
            arg1.writeInt(this.playerId);
            arg1.writeString(this.playerName);
            arg1.writeInt(this.openNextDt);
            arg1.writeInt(this.copyCloseDt);
            arg1.writeInt(this.maxOpenLevel);
            arg1.writeInt(this.expAdd);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.curSealLevel = arg1.readInt();
            this.playerId = arg1.readInt();
            this.playerName = arg1.readString();
            this.openNextDt = arg1.readInt();
            this.copyCloseDt = arg1.readInt();
            this.maxOpenLevel = arg1.readInt();
            this.expAdd = arg1.readInt();
            return;
        }

        public /* const */_type: int=12475;

        public /* var */curSealLevel: int;

        public /* var */playerId: int;

        public /* var */playerName: string;

        public /* var */openNextDt: int;

        public /* var */copyCloseDt: int;

        public /* var */maxOpenLevel: int;

        public /* var */expAdd: int;

        public static /* var */_regist: SLevelSealInfo;
    }

            SLevelSealInfo._regist = new SLevelSealInfo(true);
        